package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 套餐菜品关系类
 * @author Xiao
 * @date 2021/9/27
 */
@Data
@TableName("setmeal_dish")
public class SetmealDish extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long setmealId;    //套餐id
    private Long dishId;    //菜品id
    private String name;    //菜品名称（冗余字段）
    private BigDecimal price;    //菜品原价（冗余字段）
    private Integer copies;    //份数
    private Integer sort;    //排序
    private Integer isDeleted;    //是否删除
}
